//
//  WantTableViewCell.m
//  觅影
//
//  Created by lanou on 16/4/14.
//  Copyright © 2016年  陶虹. All rights reserved.
//

#import "WantTableViewCell.h"

@implementation WantTableViewCell


- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.removeButton.layer.borderWidth = 0.5f;
        self.removeButton.layer.borderColor = [[UIColor cyanColor]CGColor];
    }
    return self;
}

-(void)setModel:(FilmIntroModel *)model
{
    _model = model;
    [self.picImageView sd_setImageWithURL:[NSURL URLWithString:model.poster]];
    self.titleLabel.text = model.title;
    self.typeLabel.text = model.filmtype;
}





- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
